package top.infopub.mgr.fia.service;

import com.github.pagehelper.Page;
import top.infopub.dto.fia.InvoiceManageDto;
import top.infopub.generic.GenericService;
import top.infopub.mgr.common.vo.RspVo;
import top.infopub.mgr.fia.domain.InvoiceManageDomain;
import top.infopub.mgr.fia.jsonvo.InvoiceManageJsonVo;
import top.infopub.mgr.fia.vo.InvoiceManageVo;
import top.infopub.model.fia.InvoiceManage;
import top.infopub.security.vo.AuthorizationVO;

public interface InvoiceManageService extends GenericService<InvoiceManage, String> {
    /**
     * 根据条件查询分页记录
     * @param page
     * @param invoiceManageVo
     * @return 
     * @see
     */
    Page<InvoiceManageDomain> selectPageByDomainWhere(Page<InvoiceManageDomain> page,
                                                      InvoiceManageVo invoiceManageVo);

    /**
     * 根据id查询详情
     * @param id
     * @return
     */
    InvoiceManageJsonVo queryDetailById(String id);

    /**
     * 编辑
     * @param invManDto
     * @param submitType
     * @param vo
     * @return
     */
    RspVo edit(InvoiceManageDto invManDto, Integer submitType, AuthorizationVO vo);
}